import { defineStore } from 'pinia'

export const useAppStore = defineStore({
  id: 'app',
  state: () => ({
    breadcrumb: false
  }),
  persist: {
    enabled: true
  },
  getters: {
    getBreadcrumb(): boolean {
      return false
    }
  },
  actions: {
    setBreadcrumb(breadcrumb: boolean) {
      this.breadcrumb = breadcrumb
    }
  }
})
